<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>撰写书评 - ${siteName} </title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="icon" type="image/png" sizes="32x32" href="icon/favicon-32x32.png">
    <link rel="icon" type="image/png" sizes="16x16" href="icon/favicon-16x16.png">
    <link rel="stylesheet" href="admin/plugins/fontawesome-free/css/all.min.css">
    <link rel="stylesheet" href="css/ionicons/2.0.1/ionicons.min.css">
    <link rel="stylesheet" href="admin/plugins/datatables-bs4/css/dataTables.bootstrap4.css">
    <link rel="stylesheet" href="admin/plugins/jquery-realperson/jquery.realperson.css">
    <link rel="stylesheet" href="admin/css/adminlte.min.css">
    <link rel="stylesheet" href="css/mainpage.css">
    <link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700" rel="stylesheet">
</head>
<body class="hold-transition layout-top-nav" style="background: #b3b3b3;">
<div class="wrapper">
    <#--  nav bar  -->
    <#include "./header.ftl">

    <div class="content-wrapper">
        <div class="row">
            <div class="col-lg-2" style="background: #b3b3b3;">

            </div>
            <div class="col-lg-8 col-sm-12" style="min-height: 800px;">
                <div class="content-header">
                    <div class="container-fluid">
                        <div class="row mb-2">
                            <div class="col-sm-6">
                                <h1 class="m-0 text-dark">撰写书评</h1>
                            </div>
                        </div>
                    </div>
                </div>
                <section class="content">
                    <div class="row">
                        <div class="col-12">
                            <div class="card">
                                <div class="card-body">
                                    <span id="tag-save-submit" value="" hidden></span>
                                    <div class="form-group">
                                        <label for="inputName">
                                            题目
                                            <span class="text-sm text-gray">（</span>
                                            <span class="text-sm text-gray" id="bookcomment-status">
                                                ${status}
                                            </span>
                                            <span class="text-sm text-gray">）</span>
                                        </label>
                                        <input type="text" id="bookcomment-title" class="form-control">
                                    </div>
                                    <div class="form-group">
                                        <label for="inputName">正文</label>
                                        <div id="editor">
                                        </div>
                                    </div>
                                </div>
                                <div class="card-footer">
                                    <div class="row">
                                        <div class="col-6">
                                            <input id="input-captcha" class="form-control" placeholder="提交请输入上面看到的字符(保存不需要)">
                                            <span class="btn-group-lg mt-3">
                                                <button class="btn btn-warning mt-3" onclick="editCommentOnSaveClick();">保存</button>
                                                <button class="btn btn-success mt-3" onclick="editCommentOnSubmitClick();">提交</button>
                                            </span>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </section>

            </div>
            <div class="col-lg-2" style="background: #b3b3b3;">

            </div>
        </div>
    </div>
    <#include "./footer.ftl">
</div>

<script src="admin/plugins/jquery/jquery.min.js"></script>
<script src="admin/plugins/bootstrap/js/bootstrap.bundle.min.js"></script>
<script src="admin/plugins/datatables/jquery.dataTables.js"></script>
<script src="admin/plugins/datatables-bs4/js/dataTables.bootstrap4.js"></script>
<script src="admin/plugins/sweetalert2/sweetalert2.all.min.js"></script>
<script src="admin/plugins/ckeditor/ckeditor.js"></script>
<script src="admin/plugins/jquery-realperson/jquery.plugin.js"></script>
<script src="admin/plugins/jquery-realperson/jquery.realperson.js"></script>
<script src="admin/js/adminlte.min.js"></script>
<script src="utility.js"></script>
<script src="script/page/editbookcomment.js"></script>
</body>
</html>
